package top.jigw.service.impl;


import org.springframework.stereotype.Service;
import top.jigw.dao.UserDao;
import top.jigw.domain.User;
import top.jigw.service.UserService;

import javax.annotation.Resource;
import java.util.List;

@Service
public class UserServiceImpl implements UserService {
    @Resource
    private UserDao userDao;


    @Override
    public List<User> findAll() {
        return userDao.findAll();
    }
}
